package com.ball.entity;

public class Log {
    private int id ;
    private String username="null";
    private String log="null";
    private String time="null";

    public Log() {
    }
    public Log(String username, String log, String time) {
        this.username = username;
        this.log = log;
        this.time = time;
    }
    public Log(int id, String username, String log, String time) {
        this.id = id;
        this.username = username;
        this.log = log;
        this.time = time;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getLog() {
        return log;
    }

    public void setLog(String log) {
        this.log = log;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Log{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", log='" + log + '\'' +
                ", time='" + time + '\'' +
                '}';
    }
}
